package com.lmt.common.entity;

public enum ErrorCode {

    LOGIN_FAILURE("001001"),
    LOGIN_AGAIN("001002"),
    NO_PERMISSIONS("002001");

    private String errorCode;

    ErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    @Override
    public String toString() {
        return this.getErrorCode();
    }
}
